<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ include file="/pub/includ.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
	<head></head>
	<script type="text/javascript">
		var _submit = function(){
			var options = {
				type: 'POST',
				async: false,
				dataType: 'content-type',
				success: function(msg) {
					if(msg=="success"){
						alert("保存成功！");
					}else{
						alert("原始密码有误！");
					}
				}
			}
			$('#userform').ajaxSubmit(options);
		}
	</script>
	<body>
<form action="<%=path %>/sys/user/mpwd" method="post" name="userform" id="userform">
<table><tr><td height="2px"></td></tr></table>
<table align="center" width="70%" border="0" cellpadding="5" cellspacing="1" class="table_nbw">
	<thead class="th_nbw">
	<tr>
		<td colspan="2" align="center"><strong>修改密码</strong></td>
	</tr>
	</thead>
	<tr>
		<td align="right" width="40%" style="background-color:fff;height:25px;">原始密码：</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw" type="password" id="oldpwd" name="oldpwd"></td>
	</tr>
	<tr>
		<td align="right" style="background-color:fff;height:25px;">新密码：</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw" type="password" id="newpwd" name="newpwd"></td>
	</tr>
</table>	
<table width="100%"><tr><td align="center">
	<input type="button" onclick="_submit()" class="button_nbw" value="提  交" />
</td></tr></table>
</form>
	</body>
</html>